package com.tocici.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;

/**
 * 音乐对象 music
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("music")
public class Music extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "music_id")
    private Long musicId;

    /**
     *
     */
    private String title;

    /**
     *
     */
    private Long audioUrl;

    /**
     *
     */
    private Long imageUrl;

    /**
     * 单位：秒
     */
    private Integer duration;

    /**
     *
     */
    private Long artistId;

    /**
     *
     */
    private Long categoryId;

    /**
     *
     */
    private Integer playCount;

    /**
     *
     */
    private Long isDeleted;


}
